﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;
using System.Collections;

namespace Meqs.Logic.Interface
{
    public interface ITeacherEvalCatchLogic : ICommonLogic<TeacherEvalCatch, int>
    {
         /// <summary>
        /// 插入记录
        /// </summary>
        /// <param name="mpc"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int InsertTeacherEvalCatch(TeacherEvalCatch mpc, string schoolMark);


         /// <summary>
        /// 删除缓存表中对应单据及学生的记录
        /// </summary>
        /// <param name="studentID"></param>
        /// <param name="recordID"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int DeleteTeacherEvalCatch(int teacherID, int recordID, string schoolMark);
        /// <summary>
        /// 获取评估分数
        /// </summary>
        /// <param name="th"></param>
        /// <returns></returns>
        IList<UserProjectScore> FindKeyWordUserScore(Hashtable th);


        /// <summary>
        /// 类别信息
        /// </summary>
        /// <param name="th"></param>
        /// <returns></returns>

        IList<TeacherEvalType> FindKeyWordTypeInfo(Hashtable th);

        /// <summary>
        /// 题目信息
        /// </summary>
        /// <param name="th"></param>
        /// <returns></returns>
        IList<TeacherEvalItem> FindKeyWordItemInfo(Hashtable th);
        
        /// <summary>
        /// 获取月份评估信息
        /// </summary>
        /// <returns></returns>
        IList<UserProjectScore> FindKeyWordMonthInfo(Hashtable ht);

        IList<YearAndMonth> FindKeyWordYearMonth(Hashtable ht);
    }
}
